package com.xinruke.hostels.central.manage.interfaces.dto.sensitiveword;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * @author yutaipu
 */
@ApiModel("敏感词校验请求DTO")
@Data
public class SensitiveWordCheckDTO {

    @ApiModelProperty(value = "内容")
    private String leirong;

    /**
     * 屏蔽级别:1一般屏蔽；2严重恶劣；
     */
    @ApiModelProperty(value = "屏蔽级别:1一般屏蔽；2严重恶劣；", required = true)
    @NotNull(message = "屏蔽级别不能为空")
    private Byte pingbijibie;

    @ApiModelProperty(value = "所属系统", required = true)
    @NotNull(message = "所属系统不能为空")
    private Byte suoshuxitong;

}
